package com.bwie.mapper;

import com.bwie.common.domain.Business;
import com.bwie.common.domain.Follow;
import com.bwie.common.domain.Keep;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: BusinessMapper
 * @Description: TODO
 * @version: v1.８.0
 * @author: GONGWENXUE
 * @date: 2025/10/10 11:20
 */
@Mapper
public interface BusinessMapper {
    /**
     * 商机列表
     * @param business
     * @return
     */
    List<Business> bussList(Business business);

    /**
     * 添加商机
     * @param business
     * @return
     */
    Integer addBuss(Business business);

    /**
     * 添加跟进
     * @param follow
     * @return
     */
    Integer addFollow(Follow follow);

    List<Business> getMyBusinessesWithRemind(@Param("businessId") Long businessId);
}